package edu.面向对象基础.类;

public class Phone {
    String brand;//品牌
    int price;   //价格

    //打电话，发短信
    public void call(String name){
        System.out.println("给"+name+"打电话");
    }
    public void sendMessage(){
        System.out.println("群发信息");
    }
}
